package com.luocc.ccdemo.utils

import java.text.SimpleDateFormat
import java.util.*

object CommonUtil {
    fun getCurrentDate(): String {
        val sdf = SimpleDateFormat("yyyy-MM-dd HH:mm:ss", Locale.getDefault())
        val date = Date(System.currentTimeMillis())
        return sdf.format(date)
    }
}